<cfsetting requesttimeout="600">

<cfquery name="GetGPAs" datasource="calgrants_workshops" maxrows="5000">
	select *
	from GPA_Update
	where student_id is not null
</cfquery>

<cfloop query="GetGPAs">

	<cfquery name="UpdateGDS" datasource="calgrants_workshops">
		update GDS_2012
		set GPA = '#GPA#',
		[GPA Date] = '#GPA_Date#',
		[On Time GPA] = '#On_Time_GPA#'
		where Student_ID = #Student_ID#
	</cfquery>
	
	<cfquery name="DeleteGPA" datasource="calgrants_workshops">
		delete from GPA_Update
		where Student_ID = #Student_ID#
	</cfquery>

</cfloop>

<!--- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script type="text/javascript">
(function() {
    if (typeof window.janrain !== 'object') window.janrain = {};
    window.janrain.settings = {};
    
    janrain.settings.tokenUrl = '__REPLACE_WITH_YOUR_TOKEN_URL__';

    function isReady() { janrain.ready = true; };
    if (document.addEventListener) {
      document.addEventListener("DOMContentLoaded", isReady, false);
    } else {
      window.attachEvent('onload', isReady);
    }

    var e = document.createElement('script');
    e.type = 'text/javascript';
    e.id = 'janrainAuthWidget';

    if (document.location.protocol === 'https:') {
      e.src = 'https://rpxnow.com/js/lib/cashforcollege/engage.js';
    } else {
      e.src = 'http://widget-cdn.rpxnow.com/js/lib/cashforcollege/engage.js';
    }

    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(e, s);
})();
</script>

</head>

<html xmlns:fb="http://ogp.me/ns/fb#">

<div id="fb-root"></div>

<script>
	(function(d, s, id) {
		var js, fjs = d.getElementsByTagName(s)[0];
		if (d.getElementById(id)) return;
		js = d.createElement(s); js.id = id;
		js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
		fjs.parentNode.insertBefore(js, fjs);
	}(document, 'script', 'facebook-jssdk'));
</script>


<fb:like href="http://www.facebook.com/ccfc.region1" send="false" layout="button_count" width="450" show_faces="false"></fb:like>

<!--- <script type="text/javascript">
	var rpxJsHost = (("https:" == document.location.protocol) ? "https://" : "http://static.");
	document.write(unescape("%3Cscript src='" + rpxJsHost + "rpxnow.com/js/lib/rpx.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
	RPXNOW.init({appId: 'gkpafihcfakbjgdebjbh',
	xdReceiver: '/rpx_xdcomm.html'});
</script>

<script type="text/javascript">
  RPXNOW.loadAndRun(['Social'], function () {
    var activity = new RPXNOW.Social.Activity(
       "Share your comment",
       "commented on 'Like My New Perfume?' on cuteoverload.com",
       "http://cuteoverload.com/2009/10/26/like-my-new-perfume/");
    RPXNOW.Social.publishActivity(activity);
  });
</script>
 --->

<!--- <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fccfc.region1&amp;width=292&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false&amp;appId=247559268643341" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe> --->


</body>
</html> --->